package com.example.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class RestController {
    @RequestMapping("/index")
    String index(){
        System.out.println("index");
        return "common";
    }
    @RequestMapping("/")
    String login(){
        System.out.println("login");
        return "login";
    }
}
